/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.eng.scc.core.data;

/**
 *
 * @author Rafael
 */
public class Address extends Skeleton
{
    private int cityId;
    private int homeState;
    private String country = "";
    private String number = "";
    private String cep = "";

    public int getCityId()
    {
        return cityId;
    }

    public void setCityId( int cityId )
    {
        this.cityId = cityId;
    }

    public int getHomeState()
    {
        return homeState;
    }

    public void setHomeState( int homeState )
    {
        this.homeState = homeState;
    }

    public String getCountry()
    {
        return country;
    }

    public void setCountry( String country )
    {
        this.country = country;
    }

    public String getNumber()
    {
        return number;
    }

    public void setNumber( String number )
    {
        this.number = number;
    }

    public String getCep()
    {
        return cep;
    }

    public void setCep( String cep )
    {
        this.cep = cep;
    }

    @Override
    public boolean equals( Object obj )
    {
        if ( obj == null )
        {
            return false;
        }
        if ( getClass() != obj.getClass() )
        {
            return false;
        }
        final Address other = ( Address ) obj;
        if ( this.getId() != other.getId() )
        {
            return false;
        }
        return true;
    }
}
